/**
 * Copyright (c) 2012 Axa Holding Belgium, SA. All rights reserved.
 * This software is the confidential and proprietary information of the AXA Group.
 */
package chabernac.android.wordbattle.model;

import java.util.List;

public class BasicScoreCalculator implements iScoreCalculator{

  @Override
  public int calculateScore( List<Word> aWordList) {
    int theScore = 0;
    for ( Word theWord : aWordList ) {
      theScore += Math.pow(theWord.getLetters().size(), 2);
    }
    return theScore;
  }
  
}
